import request from '@/utils/request';
import {type LoginData} from './type'

export function Login(data:LoginData){
    return request({
        url:'/UserBusinessData/Login',
        method:'post',
        data
    })
}
export function GetMenus(data:any){
    return request({
        url:'/UserBusinessData/GetMenus?roleId='+data,
        method:'get',
       
    })
}
